22db13be65e1cf36b78ed2d34df114f4664a0f39,JsTestDriver/src/com/google/jstestdriver/idea/execution/JstdRunConfigurationRefactoringHandler.java,JstdRunConfigurationRefactoringHandler,getRefactoringElementListener,#JstdRunConfiguration#PsiElement#,17

Before Change


    JstdRunSettings settings = configuration.getRunSettings();
    String path = fileAtElement.getPath();
    if (settings.getTestType() == TestType.ALL_CONFIGS_IN_DIRECTORY) {
      if (settings.getDirectory().equals(path)) {
        return new FilePathRefactoringElementListener(configuration, false, false, true);
      }
    } else {

After Change


      return null;
    }
    JstdRunSettings settings = configuration.getRunSettings();
    String path = fileAtElement.getPath();
    if (settings.getTestType() == TestType.ALL_CONFIGS_IN_DIRECTORY) {
      String allInDirectory = FileUtil.toSystemIndependentName(settings.getDirectory());
      if (allInDirectory.equals(path)) {
        return new FilePathRefactoringElementListener(configuration, false, false, true);
      }
    } else {